from django.contrib import admin
from gtdapp.tasks.models import Category, Task, Project

class TaskAdmin(admin.ModelAdmin):
    list_display = ('description', 'category',  'due_date', 'completed')
    list_filter = ('category', 'due_date', 'completed')

class CategoryAdmin(admin.ModelAdmin):
    pass

class ProjectAdmin(admin.ModelAdmin):
    pass

admin.site.register(Category, CategoryAdmin)
admin.site.register(Task, TaskAdmin)
admin.site.register(Project, ProjectAdmin)